package com.yc.hotel;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@ServletComponentScan
@SpringCloudApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.yc.hotel.room.feign", "com.yc.hotel.order.feign"})

public class HotelPayApplication {

	public static void main(String[] args) {
		SpringApplication.run(HotelPayApplication.class, args);
	}
	
}
